Model run by trashe using Apollo 0.4.0 on R 4.5.3 for Linux. Please acknowledge the use of Apollo by citing Hess & Palma (2019) DOI 10.1016/j.jocm.2019.100170 www.ApolloChoiceModelling.com Model name : DM Model description : Simple DM model on Swiss route choice data Model run at : 2026-11-02 22:00:05 Estimation method : bgw Estimation diagnosis : Relative function convergence (favorable) Optimisation diagnosis : Maximum found hessian properties : Negative definite maximum eigenvalue : -3.686105 reciprocal of condition number : 6.09791e-05 Number of individuals : 388 Number of rows in database : 3492 Number of modelled outcomes : 3492 Number of cores used : 1 Model without mixing LL(start) : -1821.73 LL (whole model) at equal shares, LL(0) : -2420.47 LL (whole model) at observed shares, LL(C) : -2420.39 LL(final, whole model) : -1447.3 Rho-squared vs equal shares : 0.4021 Adj.Rho-squared vs equal shares : 0.3967 Rho-squared vs observed shares : 0.402 Adj.Rho-squared vs observed shares : 0.3971 AIC : 2920.6 BIC : 3000.66 LL(0,Combination_1) : -2420.47 LL(final,Combination_1) : -4858.32 LL(0,Combination_2) : -2420.47 LL(final,Combination_2) : -5447.15 LL(0,Combination_3) : -2420.47 LL(final,Combination_3) : -5255.17 LL(0,Combination_4) : -2420.47 LL(final,Combination_4) : -5373.88 LL(0,Combination_5) : -2420.47 LL(final,Combination_5) : -2828.34 LL(0,Combination_6) : -2420.47 LL(final,Combination_6) : -3407.12 LL(0,Combination_7) : -2420.47 LL(final,Combination_7) : -3059.9 LL(0,Combination_8) : -2420.47 LL(final,Combination_8) : -3398.05 LL(0,Combination_9) : -2420.47 LL(final,Combination_9) : -7365.27 LL(0,Combination_10) : -2420.47 LL(final,Combination_10) : -8039.34 LL(0,Combination_11) : -2420.47 LL(final,Combination_11) : -7923.26 LL(0,Combination_12) : -2420.47 LL(final,Combination_12) : -8266.62 LL(0,Combination_13) : -2420.47 LL(final,Combination_13) : -2256.6 LL(0,Combination_14) : -2420.47 LL(final,Combination_14) : -2318.1 LL(0,Combination_15) : -2420.47 LL(final,Combination_15) : -2337.18 LL(0,Combination_16) : -2420.47 LL(final,Combination_16) : -1832.57 Estimated parameters : 13 Time taken (hh:mm:ss) : 00:00:4.12 pre-estimation : 00:00:1.78 estimation : 00:00:1.16 post-estimation : 00:00:1.18 Iterations : 25 Unconstrained optimisation. Estimates: Estimate s.e. t.rat.(0) Rob.s.e. Rob.t.rat.(0) asc_1 -0.01354 0.061239 -0.2211 0.07066 -0.1916 asc_2 0.00000 NA NA NA NA beta_tt_a -0.24473 0.020331 -12.0373 0.02741 -8.9292 beta_tt_b -0.08091 0.007788 -10.3898 0.01030 -7.8559 beta_tc_a -1.66174 0.153072 -10.8559 0.18632 -8.9188 beta_tc_b -0.21500 0.021838 -9.8451 0.02597 -8.2774 beta_hw_a -0.09253 0.012767 -7.2481 0.01762 -5.2505 beta_hw_b -0.02047 0.008514 -2.4045 0.01175 -1.7430 beta_ch_a -2.89884 0.224207 -12.9293 0.26465 -10.9534 beta_ch_b -0.59860 0.130905 -4.5728 0.14259 -4.1981 delta_tt_a -0.47942 0.225334 -2.1276 0.26751 -1.7922 delta_tc_a -1.21836 0.199476 -6.1078 0.21656 -5.6260 delta_hw_a 0.42271 0.505967 0.8355 0.70580 0.5989 delta_ch_a 0.56284 0.232211 2.4238 0.26225 2.1462 delta_tt_b 0.00000 NA NA NA NA delta_tc_b 0.00000 NA NA NA NA delta_hw_b 0.00000 NA NA NA NA delta_ch_b 0.00000 NA NA NA NA Summary of class allocation for model component : Mean prob. Combination_1 0.03359 Combination_2 0.01913 Combination_3 0.02201 Combination_4 0.01254 Combination_5 0.11359 Combination_6 0.06470 Combination_7 0.07443 Combination_8 0.04240 Combination_9 0.05425 Combination_10 0.03090 Combination_11 0.03555 Combination_12 0.02025 Combination_13 0.18346 Combination_14 0.10450 Combination_15 0.12022 Combination_16 0.06848 Overview of choices for MNL model component Combination_1: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_2: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_3: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_4: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_5: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_6: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_7: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_8: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_9: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_10: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_11: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_12: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_13: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_14: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_15: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Overview of choices for MNL model component Combination_16: alt1 alt2 Times available 3492.00 3492.00 Times chosen 1734.00 1758.00 Percentage chosen overall 49.66 50.34 Percentage chosen when available 49.66 50.34 Classical covariance matrix: asc_1 beta_tt_a beta_tt_b beta_tc_a beta_tc_b asc_1 0.003750 -8.103e-05 -1.293e-06 -3.5423e-04 -1.721e-05 beta_tt_a -8.103e-05 4.1337e-04 9.388e-05 0.002480 2.6741e-04 beta_tt_b -1.293e-06 9.388e-05 6.065e-05 5.8882e-04 1.2420e-04 beta_tc_a -3.5423e-04 0.002480 5.8882e-04 0.023431 0.001833 beta_tc_b -1.721e-05 2.6741e-04 1.2420e-04 0.001833 4.7690e-04 beta_hw_a 4.432e-05 7.248e-05 3.031e-05 5.7192e-04 8.033e-05 beta_hw_b 2.901e-05 7.160e-06 8.300e-06 1.061e-05 2.046e-05 beta_ch_a 7.4697e-04 0.001881 5.4833e-04 0.014266 0.001584 beta_ch_b 6.0451e-04 3.9740e-04 9.566e-05 0.003377 2.3892e-04 delta_tt_a -4.7557e-04 0.001966 5.1532e-04 0.011490 9.1033e-04 delta_tc_a -2.4265e-04 6.5899e-04 7.937e-05 0.008967 7.3760e-04 delta_hw_a 0.002204 3.0326e-04 5.4014e-04 0.002222 0.001285 delta_ch_a 0.001084 4.6190e-04 1.2063e-04 0.003568 3.1566e-04 beta_hw_a beta_hw_b beta_ch_a beta_ch_b delta_tt_a asc_1 4.432e-05 2.901e-05 7.4697e-04 6.0451e-04 -4.7557e-04 beta_tt_a 7.248e-05 7.160e-06 0.001881 3.9740e-04 0.001966 beta_tt_b 3.031e-05 8.300e-06 5.4833e-04 9.566e-05 5.1532e-04 beta_tc_a 5.7192e-04 1.061e-05 0.014266 0.003377 0.011490 beta_tc_b 8.033e-05 2.046e-05 0.001584 2.3892e-04 9.1033e-04 beta_hw_a 1.6298e-04 7.609e-05 0.001529 4.1600e-04 1.0555e-04 beta_hw_b 7.609e-05 7.249e-05 5.6360e-04 2.5029e-04 -1.008e-05 beta_ch_a 0.001529 5.6360e-04 0.050269 0.015882 0.001972 beta_ch_b 4.1600e-04 2.5029e-04 0.015882 0.017136 0.002756 delta_tt_a 1.0555e-04 -1.008e-05 0.001972 0.002756 0.050776 delta_tc_a 1.3932e-04 1.439e-05 8.0444e-04 0.001754 0.015913 delta_hw_a 0.005304 0.003768 0.039871 0.015699 -1.2515e-04 delta_ch_a 6.8497e-04 4.4961e-04 0.030977 0.021242 0.005199 delta_tc_a delta_hw_a delta_ch_a asc_1 -2.4265e-04 0.002204 0.001084 beta_tt_a 6.5899e-04 3.0326e-04 4.6190e-04 beta_tt_b 7.937e-05 5.4014e-04 1.2063e-04 beta_tc_a 0.008967 0.002222 0.003568 beta_tc_b 7.3760e-04 0.001285 3.1566e-04 beta_hw_a 1.3932e-04 0.005304 6.8497e-04 beta_hw_b 1.439e-05 0.003768 4.4961e-04 beta_ch_a 8.0444e-04 0.039871 0.030977 beta_ch_b 0.001754 0.015699 0.021242 delta_tt_a 0.015913 -1.2515e-04 0.005199 delta_tc_a 0.039791 0.003631 0.002339 delta_hw_a 0.003631 0.256003 0.028972 delta_ch_a 0.002339 0.028972 0.053922 Robust covariance matrix: asc_1 beta_tt_a beta_tt_b beta_tc_a beta_tc_b asc_1 0.004992 -2.0856e-04 2.595e-05 -8.4691e-04 -4.586e-05 beta_tt_a -2.0856e-04 7.5122e-04 1.8537e-04 0.004710 4.8154e-04 beta_tt_b 2.595e-05 1.8537e-04 1.0608e-04 0.001161 2.1740e-04 beta_tc_a -8.4691e-04 0.004710 0.001161 0.034715 0.003158 beta_tc_b -4.586e-05 4.8154e-04 2.1740e-04 0.003158 6.7466e-04 beta_hw_a 2.6039e-04 1.2826e-04 8.365e-05 0.001014 1.9644e-04 beta_hw_b 1.9386e-04 8.313e-06 3.296e-05 2.647e-05 6.424e-05 beta_ch_a 0.003115 0.003392 0.001025 0.025193 0.002849 beta_ch_b 0.001380 7.3780e-04 1.5957e-04 0.006048 4.7683e-04 delta_tt_a -1.9594e-04 0.003905 9.5460e-04 0.026861 0.001796 delta_tc_a 3.6019e-04 8.2092e-04 4.493e-05 0.009426 4.6817e-04 delta_hw_a 0.014113 4.1086e-04 0.002101 0.005073 0.004182 delta_ch_a 0.004074 9.7530e-04 1.6985e-04 0.009090 2.9556e-04 beta_hw_a beta_hw_b beta_ch_a beta_ch_b delta_tt_a asc_1 2.6039e-04 1.9386e-04 0.003115 0.001380 -1.9594e-04 beta_tt_a 1.2826e-04 8.313e-06 0.003392 7.3780e-04 0.003905 beta_tt_b 8.365e-05 3.296e-05 0.001025 1.5957e-04 9.5460e-04 beta_tc_a 0.001014 2.647e-05 0.025193 0.006048 0.026861 beta_tc_b 1.9644e-04 6.424e-05 0.002849 4.7683e-04 0.001796 beta_hw_a 3.1059e-04 1.6679e-04 0.002597 6.9193e-04 5.0642e-04 beta_hw_b 1.6679e-04 1.3795e-04 0.001191 5.5621e-04 -1.4319e-04 beta_ch_a 0.002597 0.001191 0.070041 0.022193 0.011346 beta_ch_b 6.9193e-04 5.5621e-04 0.022193 0.020331 0.006586 delta_tt_a 5.0642e-04 -1.4319e-04 0.011346 0.006586 0.071560 delta_tc_a 2.9409e-04 -5.080e-05 0.002503 0.003781 0.031681 delta_hw_a 0.011030 0.007690 0.080957 0.031465 -2.3870e-04 delta_ch_a 0.001472 0.001008 0.045222 0.028174 0.014468 delta_tc_a delta_hw_a delta_ch_a asc_1 3.6019e-04 0.014113 0.004074 beta_tt_a 8.2092e-04 4.1086e-04 9.7530e-04 beta_tt_b 4.493e-05 0.002101 1.6985e-04 beta_tc_a 0.009426 0.005073 0.009090 beta_tc_b 4.6817e-04 0.004182 2.9556e-04 beta_hw_a 2.9409e-04 0.011030 0.001472 beta_hw_b -5.080e-05 0.007690 0.001008 beta_ch_a 0.002503 0.080957 0.045222 beta_ch_b 0.003781 0.031465 0.028174 delta_tt_a 0.031681 -2.3870e-04 0.014468 delta_tc_a 0.046899 0.005993 0.007704 delta_hw_a 0.005993 0.498159 0.069965 delta_ch_a 0.007704 0.069965 0.068776 Classical correlation matrix: asc_1 beta_tt_a beta_tt_b beta_tc_a beta_tc_b asc_1 1.000000 -0.06508 -0.002711 -0.037788 -0.01287 beta_tt_a -0.065083 1.00000 0.592906 0.796846 0.60228 beta_tt_b -0.002711 0.59291 1.000000 0.493942 0.73033 beta_tc_a -0.037788 0.79685 0.493942 1.000000 0.54838 beta_tc_b -0.012870 0.60228 0.730326 0.548381 1.00000 beta_hw_a 0.056687 0.27925 0.304905 0.292660 0.28813 beta_hw_b 0.055636 0.04136 0.125181 0.008142 0.11003 beta_ch_a 0.054403 0.41256 0.314038 0.415667 0.32345 beta_ch_b 0.075409 0.14932 0.093838 0.168541 0.08358 delta_tt_a -0.034464 0.42919 0.293660 0.333122 0.18499 delta_tc_a -0.019864 0.16249 0.051095 0.293657 0.16932 delta_hw_a 0.071117 0.02948 0.137080 0.028696 0.11626 delta_ch_a 0.076248 0.09784 0.066706 0.100370 0.06225 beta_hw_a beta_hw_b beta_ch_a beta_ch_b delta_tt_a asc_1 0.05669 0.055636 0.05440 0.07541 -0.034464 beta_tt_a 0.27925 0.041362 0.41256 0.14932 0.429187 beta_tt_b 0.30491 0.125181 0.31404 0.09384 0.293660 beta_tc_a 0.29266 0.008142 0.41567 0.16854 0.333122 beta_tc_b 0.28813 0.110033 0.32345 0.08358 0.184995 beta_hw_a 1.00000 0.700066 0.53413 0.24893 0.036690 beta_hw_b 0.70007 1.000000 0.29525 0.22457 -0.005252 beta_ch_a 0.53413 0.295251 1.00000 0.54113 0.039027 beta_ch_b 0.24893 0.224571 0.54113 1.00000 0.093429 delta_tt_a 0.03669 -0.005252 0.03903 0.09343 1.000000 delta_tc_a 0.05471 0.008473 0.01799 0.06716 0.354024 delta_hw_a 0.82119 0.874766 0.35146 0.23703 -0.001098 delta_ch_a 0.23106 0.227416 0.59498 0.69879 0.099351 delta_tc_a delta_hw_a delta_ch_a asc_1 -0.019864 0.071117 0.07625 beta_tt_a 0.162488 0.029479 0.09784 beta_tt_b 0.051095 0.137080 0.06671 beta_tc_a 0.293657 0.028696 0.10037 beta_tc_b 0.169324 0.116255 0.06225 beta_hw_a 0.054708 0.821191 0.23106 beta_hw_b 0.008473 0.874766 0.22742 beta_ch_a 0.017987 0.351463 0.59498 beta_ch_b 0.067156 0.237032 0.69879 delta_tt_a 0.354024 -0.001098 0.09935 delta_tc_a 1.000000 0.035980 0.05050 delta_hw_a 0.035980 1.000000 0.24659 delta_ch_a 0.050499 0.246590 1.00000 Robust correlation matrix: asc_1 beta_tt_a beta_tt_b beta_tc_a beta_tc_b asc_1 1.00000 -0.10769 0.03565 -0.06433 -0.02499 beta_tt_a -0.10769 1.00000 0.65664 0.92236 0.67641 beta_tt_b 0.03565 0.65664 1.00000 0.60494 0.81266 beta_tc_a -0.06433 0.92236 0.60494 1.00000 0.65257 beta_tc_b -0.02499 0.67641 0.81266 0.65257 1.00000 beta_hw_a 0.20911 0.26553 0.46082 0.30870 0.42915 beta_hw_b 0.23359 0.02582 0.27250 0.01209 0.21058 beta_ch_a 0.16660 0.46760 0.37597 0.51091 0.41444 beta_ch_b 0.13692 0.18879 0.10865 0.22766 0.12875 delta_tt_a -0.01037 0.53263 0.34647 0.53893 0.25843 delta_tc_a 0.02354 0.13830 0.02014 0.23361 0.08323 delta_hw_a 0.28299 0.02124 0.28905 0.03857 0.22812 delta_ch_a 0.21983 0.13569 0.06288 0.18603 0.04339 beta_hw_a beta_hw_b beta_ch_a beta_ch_b delta_tt_a asc_1 0.20911 0.23359 0.16660 0.1369 -0.010366 beta_tt_a 0.26553 0.02582 0.46760 0.1888 0.532626 beta_tt_b 0.46082 0.27250 0.37597 0.1087 0.346472 beta_tc_a 0.30870 0.01209 0.51091 0.2277 0.538935 beta_tc_b 0.42915 0.21058 0.41444 0.1287 0.258430 beta_hw_a 1.00000 0.80578 0.55676 0.2754 0.107420 beta_hw_b 0.80578 1.00000 0.38327 0.3321 -0.045574 beta_ch_a 0.55676 0.38327 1.00000 0.5881 0.160262 beta_ch_b 0.27535 0.33212 0.58812 1.0000 0.172672 delta_tt_a 0.10742 -0.04557 0.16026 0.1727 1.000000 delta_tc_a 0.07706 -0.01997 0.04368 0.1224 0.546878 delta_hw_a 0.88672 0.92758 0.43341 0.3127 -0.001264 delta_ch_a 0.31847 0.32740 0.65156 0.7534 0.206238 delta_tc_a delta_hw_a delta_ch_a asc_1 0.02354 0.282987 0.21983 beta_tt_a 0.13830 0.021238 0.13569 beta_tt_b 0.02014 0.289055 0.06288 beta_tc_a 0.23361 0.038575 0.18603 beta_tc_b 0.08323 0.228123 0.04339 beta_hw_a 0.07706 0.886719 0.31847 beta_hw_b -0.01997 0.927575 0.32740 beta_ch_a 0.04368 0.433406 0.65156 beta_ch_b 0.12245 0.312650 0.75343 delta_tt_a 0.54688 -0.001264 0.20624 delta_tc_a 1.00000 0.039210 0.13564 delta_hw_a 0.03921 1.000000 0.37799 delta_ch_a 0.13564 0.377988 1.00000 Settings and functions used in model definition: apollo_control -------------- Value modelName "DM" modelDescr "Simple DM model on Swiss route choice data" indivID "ID" noDiagnostics "TRUE" noValidation "TRUE" outputDirectory "output/" debug "FALSE" nCores "1" workInLogs "FALSE" seed "13" mixing "FALSE" HB "FALSE" calculateLLC "TRUE" analyticHessian "FALSE" dropLoopExpansion "FALSE" dropRedefCheck "FALSE" panelData "TRUE" analyticGrad "TRUE" analyticGrad_manualSet "FALSE" overridePanel "FALSE" preventOverridePanel "FALSE" noModification "FALSE" Hessian routines attempted -------------------------- numerical jacobian of LL analytical gradient apollo_lcPars --------------- function (apollo_beta, apollo_inputs) { lcpars = list() lcpars[["beta_tt"]] = list() lcpars[["beta_tc"]] = list() lcpars[["beta_hw"]] = list() lcpars[["beta_ch"]] = list() for (s1 in 1:16) { lcpars[["beta_tt"]][[s1]] = get(paste0("beta_tt_", ifelse(s1 <= 8, "a", "b"))) lcpars[["beta_tc"]][[s1]] = get(paste0("beta_tc_", ifelse((s1 - (s1 > 8) * 8) <= 4, "a", "b"))) lcpars[["beta_hw"]][[s1]] = get(paste0("beta_hw_", ifelse((ceiling(s1/2)%%2) != 0, "a", "b"))) lcpars[["beta_ch"]][[s1]] = get(paste0("beta_ch_", ifelse(s1%%2 != 0, "a", "b"))) } classAlloc_settings = list(classes = c(class_a = 1, class_b = 2), avail = 1) V = list() for (s2 in 1:16) { V[[s2]] = get(paste0("delta_tt_", ifelse(s2 <= 8, "a", "b"))) + get(paste0("delta_tc_", ifelse((s2 - (s2 > 8) * 8) <= 4, "a", "b"))) + get(paste0("delta_hw_", ifelse((ceiling(s2/2)%%2) != 0, "a", "b"))) + get(paste0("delta_ch_", ifelse(s2%%2 != 0, "a", "b"))) } classAlloc_settings$utilities = V lcpars[["pi_values"]] = apollo_classAlloc(classAlloc_settings) return(lcpars) } apollo_probabilities ---------------------- function (apollo_beta, apollo_inputs, functionality = "estimate") { apollo_attach(apollo_beta, apollo_inputs) on.exit(apollo_detach(apollo_beta, apollo_inputs)) P = list() mnl_settings = list(alternatives = c(alt1 = 1, alt2 = 2), avail = list(alt1 = 1, alt2 = 1), choiceVar = choice) for (s in 1:16) { V = list() V[["alt1"]] = asc_1 + beta_tc[[s]] * tc1 + beta_tt[[s]] * tt1 + beta_hw[[s]] * hw1 + beta_ch[[s]] * ch1 V[["alt2"]] = asc_2 + beta_tc[[s]] * tc2 + beta_tt[[s]] * tt2 + beta_hw[[s]] * hw2 + beta_ch[[s]] * ch2 mnl_settings$utilities = V P[[paste0("Combination_", s)]] = apollo_mnl(mnl_settings, functionality) P[[paste0("Combination_", s)]] = apollo_panelProd(P[[paste0("Combination_", s)]], apollo_inputs, functionality) } lc_settings = list(inClassProb = P, classProb = pi_values) P[["model"]] = apollo_lc(lc_settings, apollo_inputs, functionality) P = apollo_prepareProb(P, apollo_inputs, functionality) return(P) }